Optimal. Leaf size=381 \[ -\frac {\left (c d^2-a e^2\right )^3 \left (7 c d^2+5 a e^2\right ) \left (c d^2+a e^2+2 c d e x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{512 c^3 d^3 e^4}+\frac {\left (c d^2-a e^2\right ) \left (7 c d^2+5 a e^2\right ) \left (c d^2+a e^2+2 c d e x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{192 c^2 d^2 e^3}-\frac {1}{60} \left (\frac {5 a}{c d}+\frac {7 d}{e^2}\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{5/2}+\frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{7/2}}{6 c d e (d+e x)}+\frac {\left (c d^2-a e^2\right )^5 \left (7 c d^2+5 a e^2\right ) \tanh ^{-1}\left (\frac {c d^2+a e^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\right )}{1024 c^{7/2} d^{7/2} e^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.23, antiderivative size = 381, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.132, Rules used = {808, 678, 626,
635, 212} \begin {gather*} \frac {\left (5 a e^2+7 c d^2\right ) \left (c d^2-a e^2\right )^5 \tanh ^{-1}\left (\frac {a e^2+c d^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\right )}{1024 c^{7/2} d^{7/2} e^{9/2}}-\frac {\left (5 a e^2+7 c d^2\right ) \left (c d^2-a e^2\right )^3 \left (a e^2+c d^2+2 c d e x\right ) \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{512 c^3 d^3 e^4}+\frac {\left (5 a e^2+7 c d^2\right ) \left (c d^2-a e^2\right ) \left (a e^2+c d^2+2 c d e x\right ) \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^{3/2}}{192 c^2 d^2 e^3}+\frac {\left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^{7/2}}{6 c d e (d+e x)}-\frac {1}{60} \left (\frac {5 a}{c d}+\frac {7 d}{e^2}\right ) \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^{5/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 626
Rule 635
Rule 678
Rule 808
Rubi steps
\begin {align*} \int \frac {x \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{5/2}}{d+e x} \, dx &=\frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{7/2}}{6 c d e (d+e x)}+\frac {1}{12} \left (-\frac {7 d}{e}-\frac {5 a e}{c d}\right ) \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{5/2}}{d+e x} \, dx\\ &=-\frac {1}{60} \left (\frac {5 a}{c d}+\frac {7 d}{e^2}\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{5/2}+\frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{7/2}}{6 c d e (d+e x)}+\frac {\left (\left (\frac {7 d}{e}+\frac {5 a e}{c d}\right ) \left (c d^2-a e^2\right )\right ) \int \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2} \, dx}{24 e}\\ &=\frac {\left (c d^2-a e^2\right ) \left (7 c d^2+5 a e^2\right ) \left (c d^2+a e^2+2 c d e x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{192 c^2 d^2 e^3}-\frac {1}{60} \left (\frac {5 a}{c d}+\frac {7 d}{e^2}\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{5/2}+\frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{7/2}}{6 c d e (d+e x)}-\frac {\left (\left (c d^2-a e^2\right )^3 \left (7 c d^2+5 a e^2\right )\right ) \int \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2} \, dx}{128 c^2 d^2 e^3}\\ &=-\frac {\left (c d^2-a e^2\right )^3 \left (7 c d^2+5 a e^2\right ) \left (c d^2+a e^2+2 c d e x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{512 c^3 d^3 e^4}+\frac {\left (c d^2-a e^2\right ) \left (7 c d^2+5 a e^2\right ) \left (c d^2+a e^2+2 c d e x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{192 c^2 d^2 e^3}-\frac {1}{60} \left (\frac {5 a}{c d}+\frac {7 d}{e^2}\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{5/2}+\frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{7/2}}{6 c d e (d+e x)}+\frac {\left (\left (c d^2-a e^2\right )^5 \left (7 c d^2+5 a e^2\right )\right ) \int \frac {1}{\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx}{1024 c^3 d^3 e^4}\\ &=-\frac {\left (c d^2-a e^2\right )^3 \left (7 c d^2+5 a e^2\right ) \left (c d^2+a e^2+2 c d e x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{512 c^3 d^3 e^4}+\frac {\left (c d^2-a e^2\right ) \left (7 c d^2+5 a e^2\right ) \left (c d^2+a e^2+2 c d e x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{192 c^2 d^2 e^3}-\frac {1}{60} \left (\frac {5 a}{c d}+\frac {7 d}{e^2}\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{5/2}+\frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{7/2}}{6 c d e (d+e x)}+\frac {\left (\left (c d^2-a e^2\right )^5 \left (7 c d^2+5 a e^2\right )\right ) \text {Subst}\left (\int \frac {1}{4 c d e-x^2} \, dx,x,\frac {c d^2+a e^2+2 c d e x}{\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\right )}{512 c^3 d^3 e^4}\\ &=-\frac {\left (c d^2-a e^2\right )^3 \left (7 c d^2+5 a e^2\right ) \left (c d^2+a e^2+2 c d e x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{512 c^3 d^3 e^4}+\frac {\left (c d^2-a e^2\right ) \left (7 c d^2+5 a e^2\right ) \left (c d^2+a e^2+2 c d e x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{192 c^2 d^2 e^3}-\frac {1}{60} \left (\frac {5 a}{c d}+\frac {7 d}{e^2}\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{5/2}+\frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{7/2}}{6 c d e (d+e x)}+\frac {\left (c d^2-a e^2\right )^5 \left (7 c d^2+5 a e^2\right ) \tanh ^{-1}\left (\frac {c d^2+a e^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\right )}{1024 c^{7/2} d^{7/2} e^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.95, size = 388, normalized size = 1.02 \begin {gather*} \frac {\left (c d^2-a e^2\right )^5 ((a e+c d x) (d+e x))^{3/2} \left (\frac {\sqrt {c} \sqrt {d} \sqrt {e} \left (75 a^5 e^{10}-5 a^4 c d e^8 (49 d+10 e x)+10 a^3 c^2 d^2 e^6 \left (15 d^2+16 d e x+4 e^2 x^2\right )-6 a^2 c^3 d^3 e^4 \left (91 d^3-58 d^2 e x-564 d e^2 x^2-360 e^3 x^3\right )+a c^4 d^4 e^2 \left (415 d^4-272 d^3 e x+216 d^2 e^2 x^2+4448 d e^3 x^3+3200 e^4 x^4\right )+c^5 d^5 \left (-105 d^5+70 d^4 e x-56 d^3 e^2 x^2+48 d^2 e^3 x^3+1664 d e^4 x^4+1280 e^5 x^5\right )\right )}{\left (c d^2-a e^2\right )^5 (a e+c d x) (d+e x)}+\frac {15 \left (7 c d^2+5 a e^2\right ) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a e+c d x}}{\sqrt {c} \sqrt {d} \sqrt {d+e x}}\right )}{(a e+c d x)^{3/2} (d+e x)^{3/2}}\right )}{7680 c^{7/2} d^{7/2} e^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 673, normalized size = 1.77
method | result | size |
default | \(\frac {\frac {\left (2 c d e x +a \,e^{2}+c \,d^{2}\right ) \left (a d e +\left (a \,e^{2}+c \,d^{2}\right ) x +c d e \,x^{2}\right )^{\frac {5}{2}}}{12 c d e}+\frac {5 \left (4 a c \,d^{2} e^{2}-\left (a \,e^{2}+c \,d^{2}\right )^{2}\right ) \left (\frac {\left (2 c d e x +a \,e^{2}+c \,d^{2}\right ) \left (a d e +\left (a \,e^{2}+c \,d^{2}\right ) x +c d e \,x^{2}\right )^{\frac {3}{2}}}{8 c d e}+\frac {3 \left (4 a c \,d^{2} e^{2}-\left (a \,e^{2}+c \,d^{2}\right )^{2}\right ) \left (\frac {\left (2 c d e x +a \,e^{2}+c \,d^{2}\right ) \sqrt {a d e +\left (a \,e^{2}+c \,d^{2}\right ) x +c d e \,x^{2}}}{4 c d e}+\frac {\left (4 a c \,d^{2} e^{2}-\left (a \,e^{2}+c \,d^{2}\right )^{2}\right ) \ln \left (\frac {\frac {1}{2} a \,e^{2}+\frac {1}{2} c \,d^{2}+c d e x}{\sqrt {c d e}}+\sqrt {a d e +\left (a \,e^{2}+c \,d^{2}\right ) x +c d e \,x^{2}}\right )}{8 c d e \sqrt {c d e}}\right )}{16 c d e}\right )}{24 c d e}}{e}-\frac {d \left (\frac {\left (c d e \left (x +\frac {d}{e}\right )^{2}+\left (a \,e^{2}-c \,d^{2}\right ) \left (x +\frac {d}{e}\right )\right )^{\frac {5}{2}}}{5}+\frac {\left (a \,e^{2}-c \,d^{2}\right ) \left (\frac {\left (2 c d e \left (x +\frac {d}{e}\right )+a \,e^{2}-c \,d^{2}\right ) \left (c d e \left (x +\frac {d}{e}\right )^{2}+\left (a \,e^{2}-c \,d^{2}\right ) \left (x +\frac {d}{e}\right )\right )^{\frac {3}{2}}}{8 c d e}-\frac {3 \left (a \,e^{2}-c \,d^{2}\right )^{2} \left (\frac {\left (2 c d e \left (x +\frac {d}{e}\right )+a \,e^{2}-c \,d^{2}\right ) \sqrt {c d e \left (x +\frac {d}{e}\right )^{2}+\left (a \,e^{2}-c \,d^{2}\right ) \left (x +\frac {d}{e}\right )}}{4 c d e}-\frac {\left (a \,e^{2}-c \,d^{2}\right )^{2} \ln \left (\frac {\frac {a \,e^{2}}{2}-\frac {c \,d^{2}}{2}+c d e \left (x +\frac {d}{e}\right )}{\sqrt {c d e}}+\sqrt {c d e \left (x +\frac {d}{e}\right )^{2}+\left (a \,e^{2}-c \,d^{2}\right ) \left (x +\frac {d}{e}\right )}\right )}{8 c d e \sqrt {c d e}}\right )}{16 c d e}\right )}{2}\right )}{e^{2}}\) | \(673\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.68, size = 1015, normalized size = 2.66 \begin {gather*} \left [-\frac {{\left (15 \, {\left (7 \, c^{6} d^{12} - 30 \, a c^{5} d^{10} e^{2} + 45 \, a^{2} c^{4} d^{8} e^{4} - 20 \, a^{3} c^{3} d^{6} e^{6} - 15 \, a^{4} c^{2} d^{4} e^{8} + 18 \, a^{5} c d^{2} e^{10} - 5 \, a^{6} e^{12}\right )} \sqrt {c d} e^{\frac {1}{2}} \log \left (8 \, c^{2} d^{3} x e + c^{2} d^{4} + 8 \, a c d x e^{3} + a^{2} e^{4} - 4 \, \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e} {\left (2 \, c d x e + c d^{2} + a e^{2}\right )} \sqrt {c d} e^{\frac {1}{2}} + 2 \, {\left (4 \, c^{2} d^{2} x^{2} + 3 \, a c d^{2}\right )} e^{2}\right ) - 4 \, {\left (70 \, c^{6} d^{10} x e^{2} - 105 \, c^{6} d^{11} e - 50 \, a^{4} c^{2} d^{2} x e^{10} + 75 \, a^{5} c d e^{11} + 5 \, {\left (8 \, a^{3} c^{3} d^{3} x^{2} - 49 \, a^{4} c^{2} d^{3}\right )} e^{9} + 80 \, {\left (27 \, a^{2} c^{4} d^{4} x^{3} + 2 \, a^{3} c^{3} d^{4} x\right )} e^{8} + 2 \, {\left (1600 \, a c^{5} d^{5} x^{4} + 1692 \, a^{2} c^{4} d^{5} x^{2} + 75 \, a^{3} c^{3} d^{5}\right )} e^{7} + 4 \, {\left (320 \, c^{6} d^{6} x^{5} + 1112 \, a c^{5} d^{6} x^{3} + 87 \, a^{2} c^{4} d^{6} x\right )} e^{6} + 2 \, {\left (832 \, c^{6} d^{7} x^{4} + 108 \, a c^{5} d^{7} x^{2} - 273 \, a^{2} c^{4} d^{7}\right )} e^{5} + 16 \, {\left (3 \, c^{6} d^{8} x^{3} - 17 \, a c^{5} d^{8} x\right )} e^{4} - {\left (56 \, c^{6} d^{9} x^{2} - 415 \, a c^{5} d^{9}\right )} e^{3}\right )} \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e}\right )} e^{\left (-5\right )}}{30720 \, c^{4} d^{4}}, -\frac {{\left (15 \, {\left (7 \, c^{6} d^{12} - 30 \, a c^{5} d^{10} e^{2} + 45 \, a^{2} c^{4} d^{8} e^{4} - 20 \, a^{3} c^{3} d^{6} e^{6} - 15 \, a^{4} c^{2} d^{4} e^{8} + 18 \, a^{5} c d^{2} e^{10} - 5 \, a^{6} e^{12}\right )} \sqrt {-c d e} \arctan \left (\frac {\sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e} {\left (2 \, c d x e + c d^{2} + a e^{2}\right )} \sqrt {-c d e}}{2 \, {\left (c^{2} d^{3} x e + a c d x e^{3} + {\left (c^{2} d^{2} x^{2} + a c d^{2}\right )} e^{2}\right )}}\right ) - 2 \, {\left (70 \, c^{6} d^{10} x e^{2} - 105 \, c^{6} d^{11} e - 50 \, a^{4} c^{2} d^{2} x e^{10} + 75 \, a^{5} c d e^{11} + 5 \, {\left (8 \, a^{3} c^{3} d^{3} x^{2} - 49 \, a^{4} c^{2} d^{3}\right )} e^{9} + 80 \, {\left (27 \, a^{2} c^{4} d^{4} x^{3} + 2 \, a^{3} c^{3} d^{4} x\right )} e^{8} + 2 \, {\left (1600 \, a c^{5} d^{5} x^{4} + 1692 \, a^{2} c^{4} d^{5} x^{2} + 75 \, a^{3} c^{3} d^{5}\right )} e^{7} + 4 \, {\left (320 \, c^{6} d^{6} x^{5} + 1112 \, a c^{5} d^{6} x^{3} + 87 \, a^{2} c^{4} d^{6} x\right )} e^{6} + 2 \, {\left (832 \, c^{6} d^{7} x^{4} + 108 \, a c^{5} d^{7} x^{2} - 273 \, a^{2} c^{4} d^{7}\right )} e^{5} + 16 \, {\left (3 \, c^{6} d^{8} x^{3} - 17 \, a c^{5} d^{8} x\right )} e^{4} - {\left (56 \, c^{6} d^{9} x^{2} - 415 \, a c^{5} d^{9}\right )} e^{3}\right )} \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e}\right )} e^{\left (-5\right )}}{15360 \, c^{4} d^{4}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.12, size = 499, normalized size = 1.31 \begin {gather*} \frac {1}{7680} \, \sqrt {c d x^{2} e + c d^{2} x + a x e^{2} + a d e} {\left (2 \, {\left (4 \, {\left (2 \, {\left (8 \, {\left (10 \, c^{2} d^{2} x e + \frac {{\left (13 \, c^{7} d^{8} e^{5} + 25 \, a c^{6} d^{6} e^{7}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} x + \frac {{\left (3 \, c^{7} d^{9} e^{4} + 278 \, a c^{6} d^{7} e^{6} + 135 \, a^{2} c^{5} d^{5} e^{8}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} x - \frac {{\left (7 \, c^{7} d^{10} e^{3} - 27 \, a c^{6} d^{8} e^{5} - 423 \, a^{2} c^{5} d^{6} e^{7} - 5 \, a^{3} c^{4} d^{4} e^{9}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} x + \frac {{\left (35 \, c^{7} d^{11} e^{2} - 136 \, a c^{6} d^{9} e^{4} + 174 \, a^{2} c^{5} d^{7} e^{6} + 80 \, a^{3} c^{4} d^{5} e^{8} - 25 \, a^{4} c^{3} d^{3} e^{10}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} x - \frac {{\left (105 \, c^{7} d^{12} e - 415 \, a c^{6} d^{10} e^{3} + 546 \, a^{2} c^{5} d^{8} e^{5} - 150 \, a^{3} c^{4} d^{6} e^{7} + 245 \, a^{4} c^{3} d^{4} e^{9} - 75 \, a^{5} c^{2} d^{2} e^{11}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} - \frac {{\left (7 \, c^{6} d^{12} - 30 \, a c^{5} d^{10} e^{2} + 45 \, a^{2} c^{4} d^{8} e^{4} - 20 \, a^{3} c^{3} d^{6} e^{6} - 15 \, a^{4} c^{2} d^{4} e^{8} + 18 \, a^{5} c d^{2} e^{10} - 5 \, a^{6} e^{12}\right )} e^{\left (-\frac {9}{2}\right )} \log \left ({\left | -c d^{2} - 2 \, {\left (\sqrt {c d} x e^{\frac {1}{2}} - \sqrt {c d x^{2} e + c d^{2} x + a x e^{2} + a d e}\right )} \sqrt {c d} e^{\frac {1}{2}} - a e^{2} \right |}\right )}{1024 \, \sqrt {c d} c^{3} d^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x\,{\left (c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e\right )}^{5/2}}{d+e\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________